package com.home.Entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

@Entity
@Proxy(lazy=false)
@Table(name="THIETBI")
public class ThietBi {

	@Id
	@Column(name="THB_MASO")
	private long maSo;
	
	@Column(name="THB_TEN")
	private String ten;
	
	@Column(name="THB_TINHTRANG")
	private boolean tinhTrang;
	
	@Column(name="THB_SOLUONG")
	private int soLuong;
	
	@Column(name="THB_GHICHU")
	private String ghiChu;
	
	public long getMaSo() {
		return maSo;
	}
	public void setMaSo(long maSo) {
		this.maSo = maSo;
	}
	public String getTen() {
		return ten;
	}
	public void setTen(String ten) {
		this.ten = ten;
	}
	public boolean isTinhTrang() {
		return tinhTrang;
	}
	public void setTinhTrang(boolean tinhTrang) {
		this.tinhTrang = tinhTrang;
	}
	public int getSoLuong() {
		return soLuong;
	}
	public void setSoLuong(int soLuong) {
		this.soLuong = soLuong;
	}
	public String getGhiChu() {
		return ghiChu;
	}
	public void setGhiChu(String ghiChu) {
		this.ghiChu = ghiChu;
	}
		
}
